package de.tum.in.elitese.wahlsys.common.data;

/**
 * Container class for all information belonging to a person. This container has
 * more attributes than the table because it also has information of associated
 * or derived objects.
 * 
 * @author stepan, christoph
 */
public class Person {

	private String fAddress;

	private String fCity;

	private String fDateOfBirth;

	private String fFirstname;

	private Integer fIdNumber;

	private String fName;

	/**
	 * only needed for candidates
	 */
	private String fParty;

	private String fPlaceOfBirth;

	private Integer fZip;

	public String getAddress() {
		return fAddress;
	}

	public String getCity() {
		return fCity;
	}

	public String getDateOfBirth() {
		return fDateOfBirth;
	}

	public String getFirstname() {
		return fFirstname;
	}

	public Integer getIdNumber() {
		return fIdNumber;
	}

	public String getName() {
		return fName;
	}

	public String getParty() {
		return fParty;
	}

	public String getPlaceOfBirth() {
		return fPlaceOfBirth;
	}

	public Integer getZip() {
		return fZip;
	}

	public void setAddress(String address) {
		fAddress = address;
	}

	public void setCity(String city) {
		fCity = city;
	}

	public void setDateOfBirth(String dateOfBirth) {
		fDateOfBirth = dateOfBirth;
	}

	public void setFirstname(String firstname) {
		fFirstname = firstname;
	}

	public void setIdNumber(Integer idNumber) {
		fIdNumber = idNumber;
	}

	public void setName(String name) {
		fName = name;
	}

	public void setParty(String party) {
		fParty = party;
	}

	public void setPlaceOfBirth(String placeOfBirth) {
		fPlaceOfBirth = placeOfBirth;
	}

	public void setZip(Integer zip) {
		fZip = zip;
	}

}
